#include <vector>
#include "exact_arithmetics.h"

bool reversed_comparing (double, double);
void add_mul_to_vector(std::vector<double> &, double, double, int);
void fill(std::vector<double>&, const vect&, const point&);
void initialize_vectors(const std::vector<double>&, std::vector<double>&, std::vector<double>&);
double sum_vector(const std::vector<double>&);
int sum_heaps(std::vector<double>&);
void sum_with_roundoffs(std::vector<double>&, double, int);